<table width="100%" align="center">
    <tr>
        <td>
        <center>
        <% form_tag url_for(:controller => "communities", :action => "search"), :method => :get do -%>
        <input name="q" type="text" size="25" maxlength="72" value="<%= params[:q]%>" id="page_focus"/>
        </center>
        <center>
        <%= submit_tag '搜索社区'%><%= submit_tag '搜索场所'%>
        </center>
        <% end -%>
        </td>
    </tr>
</table>